Adopting An HIV-Positive Cat

A friend of mine adopted an HIV-positive cat. She’s says HIV in animals is harmless to humans. How do cats primarily catch HIV? Is it mainly through sharing needles or from male-on-male anal sex?